﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using SquogContentPipeline;

namespace Squog_1._1
{
    public class Map
    {
        //Display name of the map, short sweet and to the point.
        private string Name;

        //A more elaborate description of the map.
        private string Description;

        //Squog's Starting poistion
        private Vector2 StartingPosition;

        //Lines in which a collision can occur
        private LineSegmentData[] Ground;

        //Lines that mark the boundries of the level, ie. you die if you
        //touch them.
        private LineSegmentData[] Boundry;

        //List of all the game objects in the map
        private GameObjectData[] GameObjects;

        public Map(MapData LoadData)
        {
            Name = LoadData.Name;
            Description = LoadData.Description;
            StartingPosition = LoadData.StartingPosition;
            Ground = LoadData.Ground;
            Boundry = LoadData.Boundry;
            GameObjects = LoadData.GameObjects;
        }
    }
}
